declare module "@/apiTypes" {
  /**通用请求体 */
  export type RequestSyncParamsType = {
    url: string;
    data?: Record<string, any>;
    method?: "POST" | "GET" | "PUT" | "DELETE";
    header?: { [key: string]: string };
  };
  /**通用响应体类型 */
  export type GeneralResponse<T> = {
    [x: string]: never[];
    rows: never[];
    /**请求状态 */
    code: number;
    /**信息 */
    message?: string;
    /**是否成功 */
    success: boolean;
    /**具体参数 */
    data: T;
  };

  /*淘系类型配置start*/
  export type EnvType = "test" | "online" | "pre";

  export type UserInfoType = {
    [key: string]: any;
  };
}
